package com.pureut.equipment.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pureut.equipment.domain.PlannedAllocation;
import com.sale.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/***
 *
 * Author:巡检计划入参
 * Date:2023/04/26 10:37
 * @DESC
 */
@Data
public class PatrolItemPlanVo extends BaseEntity {

    /**
     * id
     */
    private long id;

    /**
     * 计划编号
     */
    private String patrolItemPlanCode;

    /**
     * 计划名称
     */
    private String planName;

    /**
     * 状态
     */
    private int status;

    /**
     * 计划开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planStartTime;

    /**
     * 计划结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planEndTime;

    /**
     * 部门id
     */
    private long deptId;

    /**
     * 巡检项目id
     */
    private String patrolItemIdStr;

    /**
     * 计划配置id
     */
    private long plannedAllocationId;

    /**
     * 设备id
     */
    private String equipmentIdStr;

    /**
     * 配置计划
     */
    private PlannedAllocation plannedAllocation;

}
